﻿using System.Collections.ObjectModel;
namespace Renci.Data.Interop.OpenGIS.Gml
{
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.opengis.net/gml")]
    [System.Xml.Serialization.XmlRootAttribute("EnvelopeWithTimePeriod", Namespace = "http://www.opengis.net/gml", IsNullable = false)]
    public class EnvelopeWithTimePeriodType : EnvelopeType
    {
        /// <remarks/>
        public EnvelopeWithTimePeriodType()
        {
            this.Frame = "#ISO-8601";
        }

        private Collection<TimePositionType> _timePositions = new Collection<TimePositionType>();
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("timePosition")]
        public Collection<TimePositionType> TimePositions 
        {
            get
            {
                return this._timePositions;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute("frame", DataType = "anyURI")]
        [System.ComponentModel.DefaultValueAttribute("#ISO-8601")]
        public string Frame
        {
            get;
            set;
        }
    }
}
